home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / _archvrs / unix / comp430 / zmore < prev    next >
Text File  |  1990-01-17  |  324b  |  20 lines

  1. FIRST=1
  2. for FILE
  3. do
  4.     if test $FIRST -eq 0; then
  5.         echo "--More--(Next file: $FILE)\c"
  6.         stty cbreak -echo
  7.         ANS=`dd bs=1 count=1 2>/dev/null`
  8.         stty -cbreak echo
  9.         echo " "
  10.         if test "$ANS" = 'e'; then
  11.             exit
  12.         fi
  13.     fi
  14.     echo "------> $FILE <------"
  15.     zcat $FILE | more
  16.     if test -t; then
  17.         FIRST=0
  18.     fi
  19. done
  20.